projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356e02f
)
toolitem: set clip on allocation
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 3 Sep 2014 21:45:51 +0000
(14:45 -0700)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 3 Sep 2014 21:45:51 +0000
(14:45 -0700)
So that widgets that are children of tool items can render their shadows
too.
gtk/gtktoolitem.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolitem.c
b/gtk/gtktoolitem.c
index 774ecd0f0d2bda6fb3a67db5b1b3dfd51e9d18ce..78e318863de68453544b57ea28d42106c37b49a4 100644
(file)
--- a/
gtk/gtktoolitem.c
+++ b/
gtk/gtktoolitem.c
@@
-31,7
+31,7
@@
#include "deprecated/gtkactivatable.h"
#include "gtkintl.h"
#include "gtkprivate.h"
-
+#include "gtkwidgetprivate.h"
/**
* SECTION:gtktoolitem
@@
-531,6
+531,8
@@
gtk_tool_item_size_allocate (GtkWidget *widget,
gtk_widget_size_allocate (child, &child_allocation);
}
+
+ _gtk_widget_set_simple_clip (widget, NULL);
}
gboolean